package com.one.group.model.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Table;
import lombok.Data;
import java.util.Date;

/**
 * @author kld
 * @description 装修验收记录实体类
 */
@Data
@Table("sp_decoration_inspection")
public class DecorationInspection {
    private Long id; // 主键ID
    @Column("tenant_id")
    private Long tenantId;
    
    @Column("decoration_id")
    private Long decorationId; // 关联装修申请ID
    
    @Column("inspection_date")
    private Date inspectionDate; // 验收日期
    
    @Column("inspector")
    private String inspector; // 验收人
    
    @Column("inspection_result")
    private String inspectionResult; // 验收结果：如'通过'、'不通过'
    
    @Column("inspection_notes")
    private String inspectionNotes; // 验收备注
    
    @Column("inspection_photos_url")
    private String inspectionPhotosUrl; // 验收照片路径，多个用逗号分隔
    
    @Column("is_deleted")
    private Integer isDeleted; // 逻辑删除: 0未删除, 1删除
    
    @Column("create_time")
    private Date createTime; // 创建时间
    
    @Column("update_time")
    private Date updateTime; // 更新时间
}